package com.wejoy.video.middle.station.data.mapper.workorder;

import com.wejoy.video.middle.station.data.domain.workorder.OrderAlarmAssort;

import java.util.List;

/**
 * 工单告警分类
 *
 * @author miracle_j
 * @date 2022年11月27日 21:57:58
 */
public interface IOrderAlarmAssortMapper {

    /**
     * 插入
     *
     * @param orderAlarmAssort orderAlarmAssort
     * @return int
     */
    int insertSelective(OrderAlarmAssort orderAlarmAssort);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(OrderAlarmAssort setParam, OrderAlarmAssort whereParam);

    /**
     * 数量
     *
     * @param orderAlarmAssort orderAlarmAssort
     * @return int
     */
    int getCount(OrderAlarmAssort orderAlarmAssort);

    /**
     * 单条
     *
     * @param orderAlarmAssort orderAlarmAssort
     * @return OrderAlarmAssort
     */
    OrderAlarmAssort getOne(OrderAlarmAssort orderAlarmAssort);

    /**
     * 多条
     *
     * @param orderAlarmAssort orderAlarmAssort
     * @return List<OrderAlarmAssort>
     */
    List<OrderAlarmAssort> getList(OrderAlarmAssort orderAlarmAssort);

    /**
     * 分页
     *
     * @param orderAlarmAssort orderAlarmAssort
     * @return List<OrderAlarmAssort>
     */
    List<OrderAlarmAssort> getPageList(OrderAlarmAssort orderAlarmAssort);

}